﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using XRM.Security.DataAccess.Enums;
using XRM.Security.WebUI.Helpers;
using XRM.Security.WebUI.Models.Department;
using XRM.Security.WebUI.Models.WorkKind;
using db = XRM.Security.DataAccess.Models;

namespace XRM.Security.WebUI.Models.Request
{
    public class RequestWorkKindParamSpecModel : BaseViewModel
    {
        public RequestWorkKindParamSpecModel()
        {
        }

        public RequestWorkKindParamSpecModel(db.RequestWorkKindParamSpec dbEntity)
        {
            if (dbEntity != null)
            {
                Id = dbEntity.RequestWorkKindParamSpecId;
                ParamValue = dbEntity.ParamValue;
            }
        }

        public string ParamValue { get; set; }
    }
}